﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cloud.Update.Core.Models
{
    public class BaseModel
    {
        /// <summary>
        /// 压缩包大小
        /// </summary>
        public double TotalSize { get; set; }

        /// <summary>
        /// 当前完成大小
        /// </summary>
        public double CurrentSize { get; set; }
        /// <summary>
        /// 进度
        /// </summary>
        public int ProgressRate { get; set; }
        /// <summary>
        /// 步骤(一共要更新多少版本)
        /// </summary>
        public int CurrentStep { get; set; }
        /// <summary>
        /// 总步骤
        /// </summary>
        public int TotalStep { get; set; }

        public UpdateState State { get; set; }
    }
}
